﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPEI.PM.Shell
{
    public class UIContext
    {
        private static UIContext s_instance;

        public static UIContext Instance
        {
            get
            {
                if (s_instance == null)
                {
                    s_instance = new UIContext();
                }
                return s_instance;
            }
        }

        /// <summary>
        /// 当前用户
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 当前项目
        /// </summary>
        public Guid ProjectId { get; set; }

        /// <summary>
        /// 当前项目
        /// </summary>
        public Project Project { get; set; }
    }
}
